package com.jointsky.jointframe.monitor.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;
import java.util.List;

@Document("realtime_air_workcordation")
@Data
public class AirRealTimeData {
    @Id
    private String id;
    @Field("create_time")
    private Date createTime;
    @Field("data_day")
    private String dataDay;
    @Field("data_time")
    private Date dataTime;
    private String mn;
    @Field("mp_id")
    private String mpId;
    @Field("update_time")
    private Date updateTime;
    private List<AirRealTimeValue> values;

}
